package com.gm.commonlib.views.toast;

public class ToastUtil {
   private static IToast mToast;

   private static IToast getToast(){
       if (mToast==null){
           mToast=ToastFactory.newInstance();
       }
       return mToast;
   }
    public static void showToast(String text) {
        getToast().showToast(text);
    }


    public static void showToast(String text,int time) {
        getToast().showToast(text,time);
    }


}
